@extends('backend::modal')
@section('title',$page_title)
@section('content')
    <div class="row">
        <div class="col-lg-12">
                @component('backend::component.form.form')
                    @slot('page_title') {{$page_title}} @endslot
                    @slot('formId') edit-area @endslot
                    @slot('action') {{route('b_Area_editArea',['id'=>$info->id])}} @endslot

                    @component('backend::component.form.form-group')
                        @slot('title') 地区名称 @endslot
                        @component('backend::component.form.input')
                            @slot('name') name @endslot
                            @slot('value') {{$info->name}} @endslot
                        @endcomponent
                    @endcomponent
                    @component('backend::component.form.form-group')
                        @slot('title') 行政区划代码 @endslot
                        @component('backend::component.form.input')
                            @slot('name') area_code @endslot
                            @slot('value') {{$info->area_code}} @endslot
                        @endcomponent
                    @endcomponent

                    @slot('buttons')
                        @component('backend::component.form.button')
                            @slot('title') 提交 @endslot
                            @slot('params') {"formId":"#edit-area"} @endslot
                            @slot('class') btn-min-width ajax-form @endslot
                        @endcomponent
                        @component('backend::component.form.button')
                            @slot('title') 重置 @endslot
                            @slot('type') reset @endslot
                            @slot('color') danger @endslot
                            @slot('class') btn-min-width @endslot
                        @endcomponent
                    @endslot
                @endcomponent
        </div>
        <!--/.col-->
    </div>
@endsection
@push('scripts')
@endpush